package com.song.service;

import org.apache.dubbo.config.annotation.DubboReference;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.stereotype.Service;

/**
 * @ClassName : StudyService
 * @Author : 司猫子
 * @Date: 2021/2/26 23:32
 */
@Service
public class StudyService {
    @DubboReference(interfaceClass = JavaFrameWorkName.class,registry = "N/A",url = "dubbo://localhost:20880")
    private JavaFrameWorkName javaFrameWorkName;
    public String quertStudyName(String type){
        String s = javaFrameWorkName.queryFrameWorkName(type);
        return s;
    }

}
